#include<stdio.h>
#include<stdlib.h>
int main()
{
    FILE *inFile;
    long int offset,last;
    int ch;
    inFile=fopen("LittleStar.txt","r");
    if(inFile==NULL)
    {
        printf("\nFailed to open the LittleStar.txt.\n");
        exit(1);
    }
    fseek(inFile,0L,SEEK_END);
    last=ftell(inFile);
    for(offset=0;offset<=last;offset++)
    {
        fseek(inFile,-offset,SEEK_END);
        ch=getc(inFile);
        if(ch=='\n')
        fputc('\r',inFile);
    }
    fclose(inFile);
    return 0;
}